import request from '@/config/axios/appRequest'

export interface UserVO {
  id: number
  username: string
  nickname: string
  deptId: number
  postIds: string[]
  email: string
  mobile: string
  sex: number
  avatar: string
  loginIp: string
  status: number
  remark: string
  loginDate: Date
  createTime: Date
  proportion?: number //业绩分成比例
}

// 查询当前租户下的员工列表
export const getEmployeeList = () => {
  return request.get({ url: '/system/employee/list' })
}
